﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AFSharedLibrary.Wizards;
using AFSharedLibrary;

namespace UIDesigner.Designers.Controls
{
    public class ctrlWizPanelArguments : ctrlWizFrameBase
    {
        private ctrlCreateNewWizard m_ctrlContainer;

        #region " Windows Form Designer generated code "

        public ctrlWizPanelArguments()
        {
            //This call is required by the Windows Form Designer.
            InitializeComponent();
        }

        //Form overrides dispose to clean up the component list.
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (!(components == null))
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);
        }

        private Label label1;

        //Required by the Windows Form Designer
        private System.ComponentModel.IContainer components;

        //NOTE: The following procedure is required by the Windows Form Designer
        //It can be modified using the Windows Form Designer.  
        //Do not modify it using the code editor.
        [System.Diagnostics.DebuggerStepThrough()]
        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.Dock = System.Windows.Forms.DockStyle.Top;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.Color.Navy;
            this.label1.Location = new System.Drawing.Point(0, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(310, 18);
            this.label1.TabIndex = 0;
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // ctrlWizPanelArguments
            // 
            this.BackColor = System.Drawing.SystemColors.Control;
            this.Controls.Add(this.label1);
            this.Name = "ctrlWizPanelArguments";
            this.Size = new System.Drawing.Size(310, 266);
            this.ResumeLayout(false);
        }
        #endregion

        public ctrlWizPanelArguments(ctrlWizFrameBase ctrlPrevious, IWizardFrameContainer objContainer) : base(ctrlPrevious, objContainer)
        {
            Construct objConstruct;

            InitializeComponent();

            m_ctrlContainer = (ctrlCreateNewWizard)objContainer;
            objConstruct = m_ctrlContainer.BusinessObject;
        }

        public override string Caption
        {
            get 
            { 
                return "Constructor Arguments"; 
            }
        }

        public override System.Drawing.Image Image
        {
            get 
            { 
                return null; 
            }
        }

        public override ctrlWizFrameBase GetNextFrame(ctrlWizFrameBase ctrlPrevious)
        {
            return this.PreviousFrame.GetNextFrame(ctrlPrevious); 
        }
    }
}
